<html>
<body>
Reports usages of the <code>+</code> unary operator. The unary plus is usually a null operation, and
its presence might represent a coding error. For example, in a combination with the increment operator (like in <code>+++</code>)
or with the equal operator (like in <code>=+</code>).
<p><b>Example:</b></p>
<pre><code>
  void unaryPlus(int i) {
    int x = + +i;
  }
</code></pre>
<p>The following quick fixes are suggested:</p>
<ul>
  <li><p>Remove <code>+</code> operators before the <code>i</code> variable:</p>
<pre><code>
  void unaryPlus(int i) {
    int x = i;
  }
</code></pre>
  </li>
  <li><p>Replace <code>+</code> operators with the prefix increment operator:</p>
<pre><code>
  void unaryPlus(int i) {
    int x = ++i;
  }
</code></pre>
  </li>
</ul>
<!-- tooltip end -->
<p>
Use the checkbox below to report unary pluses that are used together with a binary or another unary expression.
It means the inspection will not report situations when a unary plus expression is used in array
initializer expressions or as a method argument.
</p>
</body>
</html>